WPForms\Admin\Revisions S

Total Complexity 50
Dependencies 1
Dependents 0
Total lines 446
Lines of code 184
Logical lines of code 74
Comment lines 180
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
process_restore()
A
53 9 24
allow_load()
A
58 9 14
prepare_template_render_arguments()
A
45 7 44
init()
A
56 8 18
maybe_create_initial_revision()
S
53 5 25
get_formatted_datetime()
S
70 2 6
panel_viewed()
S
70 2 6
mark_panel_viewed()
S
67 2 7
get_url()
S
63 1 11
hooks()
S
67 1 7
get_revision()
S
82 1 3
render_revisions_list()
S
71 1 7
fetch_revisions_list()
S
68 1 8
get_localized_strings()
S
75 1 4